package com.xxx.dao;

import com.xxx.entity.Role;

import java.util.List;

/**
 * role dao
 */
public interface RoleDao {

	public Role createRole(Role role);

	public Role updateRole(Role role);

	public void deleteRole(Long roleId);

	public Role findOne(Long roleId);

	public List<Role> findAll();
}
